Robert Lipe [Sat, 26 Mar 2022 10:45:07 +0000 (05:45 -0500)]
Pick up dropped commit to nukei-m to vecs.cc
Robert Lipe [Sat, 26 Mar 2022 09:40:17 +0000 (04:40 -0500)]
Update GPSBabel.pro
Robert Lipe [Sat, 26 Mar 2022 09:02:23 +0000 (04:02 -0500)]
Merge branch 'master' into nukei-m
Robert Lipe [Sat, 26 Mar 2022 08:00:11 +0000 (03:00 -0500)]
Merge pull request #868 from GPSBabel/deldthrf
Delete destinator_itn destinator_poi destinator_trl easygps energympro enigma f90g flys ight fugawi from disuse.
Robert Lipe [Sat, 26 Mar 2022 07:59:56 +0000 (02:59 -0500)]
Merge branch 'master' into deldthrf
Robert Lipe [Sat, 26 Mar 2022 07:57:35 +0000 (02:57 -0500)]
Merge pull request #873 from tsteven4/clazy-use-static-qregularexpression
use static const qregularexpressions where possible
Robert Lipe [Sat, 26 Mar 2022 07:56:39 +0000 (02:56 -0500)]
Merge pull request #869 from GPSBabel/delg
Delete geonet googledir gnav_trl ggv_ovl ggv_bin ggv_log glogbook gnav_trl hiketech
Robert Lipe [Sat, 26 Mar 2022 07:56:08 +0000 (02:56 -0500)]
Merge pull request #865 from GPSBabel/nuke
Delete Delorme GPL format for disuse.
tsteven4 [Sat, 19 Mar 2022 20:34:56 +0000 (14:34 -0600)]
use cmake to run clazy.
this avoids warnings in Qt headers.
we also build both the CLI and GUI.
tsteven4 [Sat, 19 Mar 2022 18:38:38 +0000 (12:38 -0600)]
use static const QRegularExpressions in GUI.
tsteven4 [Sat, 19 Mar 2022 14:01:01 +0000 (14:01 +0000)]
use static const qregularexpressions where possible
tsteven4 [Sat, 19 Mar 2022 12:21:54 +0000 (06:21 -0600)]
update to Qt 6.2.4 (#872)
OlesyaGerasimenko [Fri, 18 Mar 2022 14:33:30 +0000 (17:33 +0300)]
Update Russian translation (#864)
* Update Russian translation
* Update Russian translation
tsteven4 [Fri, 18 Mar 2022 12:31:21 +0000 (06:31 -0600)]
fix cross-origin resource sharing issues with map preview. (#871)
* fix cross-origin resource sharing issues with map preview.
This became critical in Qt 6.2.4 when using the file scheme
with gmapbase.html.
* Ensure QWebEngineSettings are set before page load.
Robert Lipe [Thu, 17 Mar 2022 08:42:34 +0000 (03:42 -0500)]
Fix errors running tests from CMake.
Robert Lipe [Thu, 17 Mar 2022 07:12:29 +0000 (02:12 -0500)]
Fix CMake build errors for test.
Robert Lipe [Thu, 17 Mar 2022 06:39:59 +0000 (01:39 -0500)]
Head off build errors for CMake tests.
Robert Lipe [Thu, 17 Mar 2022 06:35:51 +0000 (01:35 -0500)]
rewrite unicsv test to not depend on (now deleted) MXF
Robert Lipe [Thu, 17 Mar 2022 05:31:30 +0000 (00:31 -0500)]
Create SECURITY.md
Robert Lipe [Thu, 17 Mar 2022 05:04:00 +0000 (00:04 -0500)]
Catch up doc
Robert Lipe [Thu, 17 Mar 2022 05:03:25 +0000 (00:03 -0500)]
Don't let doc for (soon to be deleted) dmtlog refer to deleted here ignrando
Robert Lipe [Thu, 17 Mar 2022 04:56:37 +0000 (23:56 -0500)]
Remove delgpl from CMakeFile
Robert Lipe [Thu, 17 Mar 2022 04:46:44 +0000 (23:46 -0500)]
Delete tests from cmake. Fix tool for next time.
Robert Lipe [Thu, 17 Mar 2022 04:41:11 +0000 (23:41 -0500)]
Delete formats from CMakeLists, too.
Robert Lipe [Thu, 17 Mar 2022 04:38:23 +0000 (23:38 -0500)]
Remove destinator, engergypro, f90, crumbs from CMakefile.
Robert Lipe [Thu, 17 Mar 2022 03:57:26 +0000 (22:57 -0500)]
Rewire tpg test to not use (removed) mxf format
Robert Lipe [Thu, 17 Mar 2022 03:44:20 +0000 (22:44 -0500)]
Kill ggv_bin, ggv_ovl more dead.
Robert Lipe [Thu, 17 Mar 2022 03:31:10 +0000 (22:31 -0500)]
Delete geo format.
Robert Lipe [Thu, 17 Mar 2022 03:26:48 +0000 (22:26 -0500)]
Fix doc references left for EasyGPS.
Robert Lipe [Thu, 17 Mar 2022 03:08:49 +0000 (22:08 -0500)]
Pick up dropped commit in nuke branch to drop gpl from vecs.
Robert Lipe [Thu, 17 Mar 2022 02:49:11 +0000 (21:49 -0500)]
Turn down bcr ignrando igo8 ik3d lmx mapasia mapfactor mmo mtk_locus mynav igo2008 igoprim o kompass_tk kompass_wp mainnav mapasia mapbar mapconverter mxf tef
Robert Lipe [Thu, 17 Mar 2022 02:14:16 +0000 (21:14 -0500)]
Remove entries from gpsbabel.qrc
Robert Lipe [Thu, 17 Mar 2022 02:11:09 +0000 (21:11 -0500)]
Remove googledir, geonet
Robert Lipe [Thu, 17 Mar 2022 02:04:55 +0000 (21:04 -0500)]
Take out ggv_bin, ggv_ovl, gnav_trl
Robert Lipe [Thu, 17 Mar 2022 02:02:15 +0000 (21:02 -0500)]
Glogbook, Gnav_trl
Robert Lipe [Thu, 17 Mar 2022 01:59:41 +0000 (20:59 -0500)]
Delete hiketech,
Robert Lipe [Thu, 17 Mar 2022 01:55:19 +0000 (20:55 -0500)]
Delete destinator_itn destinator_poi destinator_trl easygps energympro enigma f90g flys ight fugawi from disuse.
Robert Lipe [Thu, 17 Mar 2022 00:05:35 +0000 (19:05 -0500)]
Delete Delorme GPL for disuse.
tsteven4 [Mon, 14 Mar 2022 13:22:11 +0000 (07:22 -0600)]
Nits (#863)
* delete crumbs from deprecated formats.
* whitespace
tsteven4 [Fri, 11 Mar 2022 20:52:01 +0000 (13:52 -0700)]
retire strsub, gstrsub. (#862)
tsteven4 [Wed, 9 Mar 2022 16:34:26 +0000 (09:34 -0700)]
misc improvements. (#861)
* misc improvements.
fix memory leak in nmea reader.
eliminate extra string conversion using xml_parse_time.
use local QByteArray instead of xstrdup.
convert human_to_dec interface to QString.
* use strtod to track converted len in human_to_dec.
* enhance humantodec test.
tsteven4 [Tue, 1 Mar 2022 13:40:32 +0000 (06:40 -0700)]
Use PImpl idiom to hide Format and Filter headers from users of Vecs, FilterVecs. (#854)
* use pimpl to hide vec implementation of formats.
* use PIMPL for filter_vecs.
* sort vecs and filter_vecs include files.
* workaround memory leak issues with pimpl vecs, filter_vecs.
with some compilers sanitize address and valgrind reported errors.
The number of errors varied with compiler/platform.
Valgrind and sanitize address found different errors as well.
MacOS with clang 13 ran error free.
Linux with gcc9 and clang 10 showed multiple errors.
The errors detected were related to the destruction of the Format
and Filter instances.
* move ctors/dtors back to h files.
* catch nuke_format up with vecs.
tsteven4 [Sat, 26 Feb 2022 16:04:22 +0000 (09:04 -0700)]
convert gdb to Format class (#850)
* convert gdb to Format class.
* const member funcs
tsteven4 [Sat, 26 Feb 2022 14:34:13 +0000 (07:34 -0700)]
fix Qt6 deprecation warning with QVariant::canConvert. (#860)
tsteven4 [Sat, 26 Feb 2022 00:03:10 +0000 (17:03 -0700)]
silence MSVC with definitions and options (#859)
* deal with MSVC CRT security warnings in a consistent manner.
* correct cmake targets
* turn off some MSVC warnings for shapelib, zlib with cmake.
* fix msvc C4100 warning handling.
There was interference between our attempt to turn off the warning
with -wd4100 and win32-msvc mkspec changing the level of this
warning with -w34100.
tsteven4 [Fri, 25 Feb 2022 13:45:31 +0000 (06:45 -0700)]
fix various printf related issues. (#858)
* dont use posix printf argument reordering.
it isn't supported by MSVC printf, it requires _printf_p.
* fix lowranceusr printf errors on MSVC.
There are still multiple other errors with Qt6 on other platforms
related to the Qt5 -> Qt6 transition with sizes.
* fix size related printf issues in lowranceusr.
note the type of these variables is different between Qt5 and Qt6.
tsteven4 [Thu, 24 Feb 2022 13:04:02 +0000 (06:04 -0700)]
delete unused field from legacy format ff_vecs_t (#857)
tsteven4 [Thu, 24 Feb 2022 13:02:08 +0000 (06:02 -0700)]
use Qt for os independent environmental variable access. (#856)
Robert Lipe [Thu, 24 Feb 2022 04:36:49 +0000 (22:36 -0600)]
Merge pull request #855 from GPSBabel/gpi_dbg
Move compile-time tests for debug message to runtime tests at -D3 or more.
Robert Lipe [Thu, 24 Feb 2022 04:35:10 +0000 (22:35 -0600)]
Remove duplicate definition and undefinition.
Robert Lipe [Tue, 22 Feb 2022 23:43:53 +0000 (17:43 -0600)]
Move compile-time tests for debug message to runtime tests at -D3 or more.
tsteven4 [Mon, 21 Feb 2022 14:53:36 +0000 (07:53 -0700)]
fix garmin_gpi debug code. (#853)
https://github.com/GPSBabel/gpsbabel/pull/833/files introduced a bug with unique_ptr.
tsteven4 [Fri, 18 Feb 2022 18:04:01 +0000 (11:04 -0700)]
use precompiled headers to speed up compile time (#851)
* speed up compiles with precompiled headers.
* workaround QTBUG with precompiled headers and clang.
* avoid including QtCore.
* add ability to turn off precompiled headers.
tsteven4 [Fri, 18 Feb 2022 17:25:44 +0000 (10:25 -0700)]
fix include cycle in new garmin_gpi Format. (#852)
tsteven4 [Sun, 13 Feb 2022 20:05:56 +0000 (13:05 -0700)]
eliminate unnecessary string conversions.
toString().to* is suspicious, QStringRef and QStringView probably
can be converted directly to *.
tsteven4 [Mon, 7 Feb 2022 14:10:14 +0000 (07:10 -0700)]
convert garmin gpi to Format class (#849)
* convert garmin_gpi to Format class
* const member funcs
* flush out includes
GPSBabel [Sun, 6 Feb 2022 22:24:56 +0000 (16:24 -0600)]
Use smart pointers over xmalloc and manual life management (#833)
* Use reference counted pointers instead of managing our own.
Fixes a leak when using debug printing.
tsteven4 [Tue, 1 Feb 2022 13:22:58 +0000 (06:22 -0700)]
update Qt 6 builds to 6.2.3 (#848)
tsteven4 [Sun, 30 Jan 2022 16:19:16 +0000 (09:19 -0700)]
convert text to Format class (#847)
tsteven4 [Sun, 30 Jan 2022 14:46:32 +0000 (07:46 -0700)]
convert humminbird to Format class. (#840)
* convert humminbird to Format class.
* const member functions, constexpr
* sorting members, easing off on forced init of auto variables.
* iwyu
tsteven4 [Sun, 30 Jan 2022 13:42:50 +0000 (06:42 -0700)]
convert f90g_track to Format class. (#844)
tsteven4 [Sat, 29 Jan 2022 22:19:10 +0000 (15:19 -0700)]
convert tef xml to Format class (#842)
* convert tef_xml to Format class.
* fix mem leak
* cap comment.
tsteven4 [Sat, 29 Jan 2022 21:45:30 +0000 (14:45 -0700)]
convert Mapbar track to Format class (#841)
* convert mapbar_track to Format class.
* const member funcs
tsteven4 [Sat, 29 Jan 2022 21:09:48 +0000 (14:09 -0700)]
convert mapfactor to Format class (#843)
* convert mapfactor to Format class.
* const memb funcs.
tsteven4 [Sat, 29 Jan 2022 20:53:46 +0000 (13:53 -0700)]
make kml skip and ignore list constexpr. (#846)
tsteven4 [Sat, 29 Jan 2022 20:28:30 +0000 (13:28 -0700)]
Convert gtrnctr to Format class (#839)
* Convert gtrnctr to Format class
* fix includes
* make ingorelist const
tsteven4 [Sat, 29 Jan 2022 20:24:46 +0000 (13:24 -0700)]
Convert gtrnctr to Format class (#839)
* Convert gtrnctr to Format class
* fix includes
* make ingorelist const
tsteven4 [Sat, 29 Jan 2022 19:51:59 +0000 (12:51 -0700)]
allow ignore list and skip list to be const. (#845)
tsteven4 [Sat, 29 Jan 2022 17:04:51 +0000 (10:04 -0700)]
convert exif format to Format class (#838)
* convert exif to Format class.
* exif member functions static, const.
* default initialize exif data members.
* move constant definition
tsteven4 [Sat, 29 Jan 2022 16:31:01 +0000 (09:31 -0700)]
convert html to Format class. (#837)
* convert html to Format class.
* add default init.
* capability comment
tsteven4 [Sat, 29 Jan 2022 15:59:14 +0000 (08:59 -0700)]
convert teletype to Format class. (#836)
* convert teletype to Format class.
* add default init.
tsteven4 [Sat, 29 Jan 2022 15:27:03 +0000 (08:27 -0700)]
Wintec tes format (#835)
* convert wintec_tes for Format class.
* add new h file.
* add default init.
tsteven4 [Sat, 29 Jan 2022 14:50:12 +0000 (07:50 -0700)]
move skytraq to Format class (#834)
* convert skytraq to Format class.
* make skytraq member functions const, use constexpr.
* skytraq format class fiddling
* more skytraq fiddling.
* whitespace cleanup
* rename skytraq base functions.
* fix rename, includes.
* capability comments.
tsteven4 [Wed, 26 Jan 2022 00:06:49 +0000 (17:06 -0700)]
Fix ODR violations discovered when using -flto. (#824)
The fedora build shows these:
skytraq.cc:666:8: warning: type 'struct read_state' violates the C++ One Definition Rule [-Wodr]
wbt-200.cc:127:8: note: a different type is defined in another translation unit
brauniger_iq.cc:30:6: warning: type 'state_t' violates the C++ One Definition Rule [-Wodr]
igc.cc:150:6: note: an enum with different value name is defined in another translation unit
However, even with link time optimization I was unable to observe a problem, i.e. testo passes.
There is a relevant note in https://en.cppreference.com/w/cpp/language/definition, see the note
about using unnamed namespaces to resolve this issue.
Also note the use of unnamed namespaces is not recommended in header files,
https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL59-CPP.+Do+not+define+an+unnamed+namespace+in+a+header+file
tsteven4 [Wed, 26 Jan 2022 00:06:35 +0000 (17:06 -0700)]
correct color palette issues in gpi writer. (#828)
tsteven4 [Wed, 26 Jan 2022 00:06:12 +0000 (17:06 -0700)]
simpify unix world conditionals in qmake files. (#831)
Jochen Sprickerhof [Mon, 24 Jan 2022 14:33:01 +0000 (15:33 +0100)]
Replace which by POSIX command -v (#829)
tsteven4 [Sat, 22 Jan 2022 21:47:44 +0000 (14:47 -0700)]
a little lighter swing of the ax. (#826)
COPYING.txt is used by packaging.
tsteven4 [Sat, 22 Jan 2022 21:19:02 +0000 (14:19 -0700)]
fix cmake status messages (#825)
tsteven4 [Wed, 19 Jan 2022 21:08:42 +0000 (14:08 -0700)]
rc1 for 1.8.0 release (#814)
* rc1 for 1.8.0 release
* update gui about copyright.
* update translations again.
tsteven4 [Wed, 19 Jan 2022 20:31:26 +0000 (13:31 -0700)]
remove traces of autotools. (#822)
tsteven4 [Wed, 19 Jan 2022 20:10:08 +0000 (13:10 -0700)]
fix donate dialog. (#821)
enable hypertext link.
fix overelapping text on linux, windows.
fix "never show this message again".
fix donate hypertext link target.
tsteven4 [Wed, 19 Jan 2022 19:23:27 +0000 (12:23 -0700)]
finish killing GUI charset handling (#819)
* finish killing gui charset handling.
* more char set dead code cleaning
* even more dead code buried.
tsteven4 [Wed, 19 Jan 2022 19:18:44 +0000 (12:18 -0700)]
minor cleanups. (#820)
empty statements, unreachable code, member funct can be const.
tsteven4 [Tue, 11 Jan 2022 15:07:24 +0000 (08:07 -0700)]
capture git hash on github action builds. (#816)
* capture git hash on github action builds.
* modernize version sha display
* delete stray space
tsteven4 [Thu, 6 Jan 2022 22:40:29 +0000 (15:40 -0700)]
tweak cmake org target. (#815)
Robert Lipe [Thu, 6 Jan 2022 03:31:34 +0000 (22:31 -0500)]
Move destinator to QDateTime from ctime (#796)
* Move destinator from ctime to QDateTime.
This feels a bit like rearranging Titanic chairs, but I needed to reduce
callers of strptime. This is another format I think we've rewritten a
couple of times without evidence of users. Most of the traffic in the last
ten years has been complaints of it not working
Destinator, consider yourself warned. You're on the death watch...
Robert Lipe [Thu, 6 Jan 2022 02:38:56 +0000 (20:38 -0600)]
Remove trailing space in xmldoc/.
sed --in-place 's/[[:space:]]\+$//' $*
This is only the xmldoc part of
9935496f5c8c772ea11785ff489768dbb2de5d4f
GPSBabel [Thu, 6 Jan 2022 02:20:05 +0000 (20:20 -0600)]
Fix build on Catalina, HTML doc formatting improvements (#759)
* PDF maker: format screen and input same. Shrink padding slightly.
tsteven4 [Thu, 6 Jan 2022 00:36:02 +0000 (17:36 -0700)]
only support changing gpsbabel.org location at build generation time. (#813)
tsteven4 [Wed, 5 Jan 2022 13:13:29 +0000 (06:13 -0700)]
add dg100 heartbeat. (#812)
tsteven4 [Tue, 4 Jan 2022 20:19:56 +0000 (13:19 -0700)]
add support for cmake build options (#809)
* add initial support for cmake build options.
including basic library configuration.
Unlike our qmake build it generates and links with static libraries if
we are using our internally supplied copies. The configuration options
are not as sophisticated as in our qmake build. The configuration of
zlib will likely be acceptable as cmake provides support via findZLIB.
The configuration of shapelib and libusb-1.0 likely will likely need to
be enhanced.
* fix typo
* mimic qmake library searches.
too much energy went into verification with packagers that the
qmake options were sufficient for their needs.
* tweak library searches
tsteven4 [Mon, 3 Jan 2022 15:57:07 +0000 (08:57 -0700)]
add intial support for CTest (#808)
* add CTest tests.
* add note about improvements for ctest.
* running xmlwf and utf8bom tests is appropriate for single tests.
tsteven4 [Sun, 2 Jan 2022 23:51:03 +0000 (16:51 -0700)]
use hierarchy with cmake. (#807)
* use hierarchy with cmake.
* adjust cmake test script for hierarchy.
the default target with cmake builds both the CLI and the GUI.
alternatively, "cmake --build . --target gpsbabel" to build just the
CLI or "cmake --build . --target GPSBabelFE|gpsbabelfe to build just
the GUI.
* detect attempts to generate a build system from a subdirectory.
* fix shellcheck issues.
tsteven4 [Sun, 2 Jan 2022 19:22:11 +0000 (12:22 -0700)]
make gbversion.h, setup.iss generated files. (#806)
* make gbversion.h, setup.iss generated files.
add cmake documentation targets.
* work on check.
* simplify parameter passing to test scripts.
* cmake test work.
run vtesto in parallel.
fix valgrind decision making in testo.
fix test for gpsbabel executable with blanks in path.
* update vtesto for cmake.
* simplify option passing for testo.
* simplify valgrind detection in testo.
* fix testo bug.
* add ubuntu cmake build.
* fix workflow
* align gui pro and CMakeLists.
and use target properties
tsteven4 [Thu, 30 Dec 2021 01:35:18 +0000 (18:35 -0700)]
fix bad merge in mtk_logger. (#805)
1. Jan 01, 2017
269c55eb5 Robert fixes ftruncate issue.
2. Jan 23, 2017
604178aa8 HarelM fixes same a different way.
3. Jan 25, 2017
8456d1d21 Robert merges resulting in duplicate fixes.
I am backing out HarelM's fix.
tsteven4 [Wed, 29 Dec 2021 14:48:33 +0000 (07:48 -0700)]
Eliminate internal_styles.cc completely (#804)
* Eliminate internal_styles.cc entirely.
* add missing qrc file.
* fix resource compilation with ninja.
* fix potential detach.
* kill empty statement
* update qrc file formatting with QtCreator resource editor.
tsteven4 [Mon, 27 Dec 2021 13:36:27 +0000 (06:36 -0700)]
migrate from directory level cmake commands to target commands. (#802)
* migrate from directory level cmake commands to target commands.
fix a few bugs with our CMakeLists:
set WIN32 for gui target. remove _CONSOLE, it's obsolete.
when undefining UNICODE, also undefine _UNICODE. it's not clear to
me we have a sensitivity to UNICODE/_UNICODE.
take optimization flags out of CMakeLists, rely on CMAKE_BUILD_TYPE
to select appropriate flags.
don't force ZLIB_INHIBITED to be undefined on windows.
add cmake support for some of our configuration options:
disable-mappreview, embed_map, embed_translations.
* fix duplicated code in gui/CMakeLists.txt
* spelling fix for INSTALL.
Robert Lipe [Sun, 26 Dec 2021 05:10:47 +0000 (00:10 -0500)]
Spelling fix in doc.
Robert Lipe [Sun, 26 Dec 2021 05:08:26 +0000 (00:08 -0500)]
Merge branch 'master' of https://github.com/gpsbabel/gpsbabel